var runtime.ncpu
9 uses
runtime (current package)
debug.go#L43: return int(ncpu)
heapdump.go#L538: dumpint(uint64(ncpu))
lock_futex.go#L77: if ncpu > 1 {
mgc.go#L672: if work.stwprocs > ncpu {
mgc.go#L675: work.stwprocs = ncpu
os_linux.go#L347: ncpu = getproccount()
proc.go#L757: procs := ncpu
proc.go#L6615: if i >= active_spin || ncpu <= 1 || gomaxprocs <= sched.npidle.Load()+sched.nmspinning.Load()+1 {
runtime2.go#L1143: ncpu int32
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |